#pragma once

#include "FXValue.h"
/**
* Wrapper around a single int.
* @author Koen Samyn
*/
class DAEInt : public FXValue
{
public:
	/**
	* Creates a new DAEInt.
	*/
	DAEInt();
	/**
	* Creates a new DAEInt.
	*/
	DAEInt(int value);
	/**
	* Returns the size of the value in bytes.
	* @return the size in bytes.
	*/
	virtual int GetSizeInBytes() const{
		return sizeof(int);
	}
	/**
	* Returns the pointer to the beginning of the value.
	* @return a void pointer to the beginning of the value.
	*/
	virtual const void* GetValuePointer() const{
		return &x;
	}
	/**
	* The x value for this int.
	*/
	int x;
};
